package com.financial.sys.vo.repayment;


import com.financial.model.pojo.TSystemDictionary;
import io.swagger.models.auth.In;
import lombok.Data;
import org.omg.CORBA.PUBLIC_MEMBER;

import java.io.Serializable;
import java.util.List;
import  java.util.Stack;

@Data
public class   PageResult  {
    private Integer totalCount;
    private  Integer currentPage;
    private  Integer pageSize;
    private  Integer prevPage;
    private  Integer nextPage;
    private  Integer totalPage;
    public List<TSystemDictionary> listData;
    public static  PageResult empty(Integer pageSize){
            if(pageSize==0){
                return null;
            }
        return  new PageResult();
    }
    public PageResult(){

    }
    public PageResult(List<TSystemDictionary> listDate,Integer totalPage,Integer currentPage,Integer pageSize){
this.listData=listDate;
this.totalCount=totalPage;
this.currentPage=currentPage;
this.pageSize=pageSize;
    }
}
